import { createContext } from 'react';
import type { DrawPalette } from '../microPalette/DrawPalette';
export const ImageEditorContext = createContext<{
  paletteInstance: DrawPalette | null;
}>({ paletteInstance: null });

export const ImageEditorProvider = ImageEditorContext.Provider;
